package com.atguigu.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * @author polaris
 * @date 2021/1/19 1:18 下午
 */
@Data
@ConfigurationProperties(prefix = "gulimall.order.thread")
@Component
public class ThreadPoolConfigProperties {
  private int corePoolSize;
  private int maxPoolSize;
  private long keepAliveTime;

}
